<?php

namespace Biz\model\GoodsTestActivity;

class FineGoodsPeopleReplaceModel extends \Doraemon\pockets\datebase\BaseDbModel
{
    public const _CONFIG_FILE_ = 'db_store';

    public const _CONFIG_SELECT_ = 'db_brand_activity';

    public const _DATABASE_ = 'brand_activity';

    public const _TABLE_NAME = 'fine_goods_test_activity_people_replace';

    public const OPERATE_TYPE_BRAND = 1; //1品牌后台操作
    public const OPERATE_TYPE_ADMIN = 2; //2运营后台操作

    public const OPERATE_TYPE_MAP = [
        self::OPERATE_TYPE_BRAND => '品牌后台',
        self::OPERATE_TYPE_ADMIN => '运营管理后台',
    ];

    public static function selectCount($where)
    {
        return self::count($where);
    }
}